import LeapYearPkg.LeapYear;
import org.junit.Test;

import static org.junit.Assert.assertEquals;

/**
 * Created with IntelliJ IDEA.
 * User: ruchi
 * Date: 02/08/13
 * Time: 8:07 PM
 * To change this template use File | Settings | File Templates.
 */
public class TestLeapYear {
    LeapYear leapYear=new LeapYear();
 @Test
    public void test1_should_check_the_given_year_is_leap_year(){
     assertEquals(true, leapYear.isLeapYearOrNot(2000));
 }

    @Test
    public void test2_should_check_the_given_year_is_not_leap_year(){
        assertEquals("false", leapYear.isLeapYearOrNot(1999));
    }
}
